<template>
</template>

<script>
  export default {
    name: 'LoginInfoInvalid',
    created() {
        let ob = this;
        console.log('test LoginInfoInvalid display');
        this.$alert('登录信息失效！ 点击确认返回登录界面', '提示', {
          confirmButtonText: '确定',
          callback: action => {
            sessionStorage.removeItem('access-admin')
            ob.$router.replace('/login')
          }
        })
    }
  }
</script>